﻿namespace FFF.Test.Application.AppServices.CF
{
    using System;
    using System.Collections.Generic;
    using System.Threading.Tasks;
    using FFF.Test.Application.AppServices;
    using FFF.Test.Application.PublicService.AppService.TreeGrid;
    using FFF.Test.Application.Repositories.CF;
    using FFF.Test.Entity.CF;
    using FFF.Test.Entity.CF.Dto;
    using FFF.Test.Entity.CF.View;

    /// <summary>
    /// 配置类业务参数表应用层服务接口
    /// </summary>
    public interface ICFBizConfigOptionAppService :
        IYdmAbpCurdAppService<CFBizConfigOptionEntity, Guid, CFBizConfigOptionCreateInputDto, CFBizConfigOptionUpdateInputDto, CFBizConfigOptionDto, ViewCFBizConfigOption, ViewCFBizConfigOption>
    {
        /// <summary>
        /// 引入业务参数(于大明)
        /// </summary>
        /// <param name="inDto">引入业务参数输入dto</param>
        /// <returns>引入业务参数输出dto</returns>
        Task<ImportConfigOptionOutDto> ImportConfigOption(ImportConfigOptionInDto inDto);

        /// <summary>
        /// 批量保存业务参数(于大明)
        /// </summary>
        /// <param name="inDto">批量保存业务参数输入dto</param>
        /// <returns>批量保存业务参数输出dto</returns>
        Task<BatchSaveOptionsOutDto> BatchSaveOptions(BatchSaveOptionsInDto inDto);
    }
}
